package Dome;

import java.util.Scanner;

public class Lazy2 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		char a;
		char b;
		int c;
		System.out.println("请输入是否结婚Y/N：");
		a = scan.next().charAt(0);
		System.out.println("请输入性别");
		b = scan.next().charAt(0);
		System.out.println("请输入年龄：");
		c = scan.nextInt();
		if (a=='Y') {
			System.out.println("提供保险");
		}else if (b=='男' && c>=25 || b=='女' && c >= 22){
			System.out.println("提供保险");
		}else {
			System.out.println("不提供保险");
		}
	}
}